package com.saishi.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Task {
    int urid;
    int userid;
    Date roleid;
    String cause;

    @Override
    public String toString() {
        return "\nTask{" +
                "urid=" + urid +
                ", userid=" + userid +
                ", roleid=" + roleid +
                ", cause='" + cause + '\'' +
                '}';
    }
}
